# RT-Thread building script for bridge

import os
import rtconfig
Import ('RTT_ROOT')
from building import *

src = []
libs = []
objs = []
libpath = []
cpppath = []
cppdefines = []
cwd = GetCurrentDir()
list = os.listdir(cwd)

src += Glob('*.c')
src += Glob('*.S')

group = DefineGroup('port', src, depend = [''], CPPPATH = cpppath, CPPDEFINES = cppdefines, LIBS = libs, LIBPATH = libpath)

objs = objs + group
Return('objs')
